package order

import (
	"gorm.io/gorm"
)

type OrderGoods struct {
	gorm.Model
	OrderId  int    `json:"order-id" gorm:"type:int(11);"`
	GoodsId  int    `json:"goods-id" gorm:"type:int(11);"`
	SkuId    int    `json:"sku_id" gorm:"type:int(11);"`
	Title    string `json:"title" gorm:"type:varchar(30);"`
	Img      string `json:"img" gorm:"type:varchar(255);"`
	Price    string `json:"price" gorm:"type:varchar(30);"`
	Quantity int    `json:"quantity" gorm:"type:int(11);comment:购买数量"`
}
